<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title>版本信息编辑</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="/web/res/css/xadmin.css">
    <script src="/web/res/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/web/res/js/xadmin.js"></script>
</head>

<body style="background-color: white;">
    <div class="layui-fluid" id="orderEdit">
        <form class="layui-form layui-form-pane" id="formsubmit" style="width: 500px;margin:20px auto" action="/">
        <input type="hidden" name="id" id="id" value="${(realName.id?c)!''}"/>
            <div class="layui-form-item">
                <label class="layui-form-label">视频认证</label>
                <div class="layui-input-block">
                    <video width="300px" controls="controls">
                        <source src="${realName.shipin!''}" type="video/mp4" />
                    </video>
                </div>
            </div>

        </form>
    </div>
    <script>
        layui.use('form', function () {
            let $ = layui.$;
            var form = layui.form;
            form.render();

            $.fn.extend({
                serializeObject: function() {
                    var obj = {}; //声明一个对象
                    $.each(this.serializeArray(), function(index, field) {
                        obj[field.name] = field.value; //通过变量，将属性值，属性一起放到对象中
                    })
                    return obj;
                }
            });
        });
    </script>
</body>

</html>